//
//  eBook Bundler.h
//  Capstone Project
//
//  Created by Brian Gilreath on 10/27/10.
//  Copyright 2010 GilreathCapstone. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OHbookCodes.h";
@class OHbook;
@class OHhighlight;
@class OHnote;
@class OHbookmark;

@interface eBook_Bundler : NSObject {
	NSMutableArray *OHBookList;
	NSMutableArray *OHBookmarkList;
	NSMutableArray *OHHighlightList;
	NSMutableArray *OHNoteList;
}

@property (nonatomic, retain) NSMutableArray *OHBookList;	
@property (nonatomic, retain) NSMutableArray *OHBookmarkList;
@property (nonatomic, retain) NSMutableArray *OHHighlightList;
@property (nonatomic, retain) NSMutableArray *OHNoteList;

-(eBook_Bundler*) init;

-(int)OHopenBook:(OHbook *)book;
-(int)OHcloseBook;

-(int)OHcreateNote:(OHnote *)newNote;
-(int)OHcreateHighlight:(OHhighlight *)newHighlight;
-(int)OHcreateBookmark:(OHbookmark *)newBookmark;

-(int)OHeditNote:(OHnote *)newNote:(OHnote *)oldNote;
-(int)OHeditHighlight:(OHhighlight *)newHighlight:(OHhighlight *)oldHighlight;
-(int)OHeditBookmark:(OHbookmark *)newBookmark:(OHbookmark *)oldBookmark;

-(int)OHdeleteNote:(OHnote *)noteToDelete;
-(int)OHdeleteHighlight:(OHhighlight *)highlightToDelete;
-(int)OHdeleteBookmark:(OHbookmark *)bookmarkToDelete;

@end
